package com.GraduationDesign.backend.data.codeQuality;

import com.GraduationDesign.backend.po.Quality;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.GraduationDesign.backend.po.Quality
 */
@Mapper
public interface QualityMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Quality record);

    int insertSelective(Quality record);

    Quality selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Quality record);

    int updateByPrimaryKey(Quality record);

    Quality selectByReviewIdAndFilename(@Param("reviewId") Integer reviewId,
                                        @Param("filename") String filename);
}
